package com.bookshop.promotion.data;

import com.bookshop.Command.Result;
import com.bookshop.dataOperator.DatabaseUtils;

public class PromotionItemRemove {

	static final String TABLE_NAME = "promotionitemdb";

	public Result execute(String pID) {
		String removeUserSql = "delete from " + TABLE_NAME + " where ID='"
				+ pID + "'";
		Result r = Result.DO_NOTHING;
		r = DatabaseUtils.excute(removeUserSql) ? Result.Succeed : Result.ERROR;
		return r;
	}
}
